﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Acms.Bll;

public partial class Templates_Country_Default : BaseTemplateUserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    public override void DataBind()
    {
        Post faqs = AcmsContext.CurrentPost.FindChildByName("faqs");
        if (faqs != null)
        {
            accordianFAQ.DataSource = faqs.Children;
            accordianFAQ.DataBind();
        }
        lnkTC.NavigateUrl = AcmsContext.CurrentPost.GetUrl("PopUp");
    }
}
